						@IfNot.Model.HasQueue
						<ul id="pagination-queue" data-id="@Model.Data.CurrentQueue" class="pagination-lg pagination"></ul>
<h1>No Email</h1>
						@EndIf
						@If.Model.HasQueue
							<div class="row">
								<div class="col-sm-9 col-md-12 col-lg-12">
									<div class="msg-header">
										<div class="pull-right">
										
										<ul id="pagination-queue" data-id="@Model.Data.CurrentQueue" class="pagination-lg pagination">
											 Showing @Model.Data.CurrentQueue - @Model.Data.QueuePages of @Model.Data.QueueCount items 
											 <button class="btn btn-white btn-navi btn-navi-left ml5" type="button">
											<i class="fa fa-chevron-left">
											</i>
											</button>
											<button class="btn btn-white btn-navi btn-navi-right" type="button">
											<i class="fa fa-chevron-right">
											</i>
											</button>
											</ul>
										</div>
<div class="checkbox-container">
    <input id="qckbox" class="newCheck" type="checkbox">
    <label for="qckbox"><span class="checkBoxTitle"></span>
    </label>
</div>
										
										<div class="pull-left">
											<div id="All" class="btn btn-white tooltips" data-toggle="tooltip" title="Select All">
											
											</div>
											<button class="btn btn-white tooltips" type="button" data-toggle="tooltip" title="Report Spam">
											<i class="fa fa-exclamation-circle">
											</i>
											</button>
											<button id="queuedelete" class="btn btn-white tooltips" type="button" data-toggle="tooltip" title="Delete">
											<i class="fa fa-trash-o">
											</i>
											</button>
										</div>
										<!-- pull-right -->
									</div>
									<!-- msg-header -->
									<ul class="media-list msg-list">
										 @Each.Model.Queue
										<li class="media unread">
										<div class="ckbox ckbox-primary pull-left">
											<input class="queuechk" type="checkbox" id="queue_@Current.Id">
											<label for="queue_@Current.Id">
											</label>
										</div>
										<div class="media-body">
											<div class="pull-right media-option">
											@Current.IsAttach
											@If.Current.IsAttach
											DUDE
											@EndIf
										<i class="@IfNot.Current.HasIsAttach fa fa-paperclip mr5 @EndIf "></i> 
												 
												 <i class="@IfNot.Current.IsAttach fa fa-star mr5n @EndIf"></i> 
												<small>
												@Current.ReceiveDate </small>
												<span>
												<i class="fa fa-star">
												</i>
												</span>
												<div class="btn-group">
													<a class="btn btn-default dropdown-toggle" data-toggle="dropdown">
													<i class="fa fa-cog">
													</i>
													</a>
													<ul class="dropdown-menu pull-right" role="menu">
														<li>
														<span class="actiondelete" data-id="@Current.Id">
														Delete </span>
														</li>
														<li class="divider">
														</li>
														<li>
														<span class="actionreset" data-id="@Current.Id">
														Reset Queue</span>
														</li>
													</ul>
												</div>
											</div>
											<h4 class="sender">
											@Current.To </h4>
											<p>
												<span class="msgpop" data-target=".bs-@Current.Id" data-toggle="modal">
												<strong class="subject">
												@Current.Subject </strong>
												@IfNot.Current.BodyHtml @!Current.SmallBody @EndIf </span>
											</p>
											<div class="modal fade bs-@Current.Id" tabindex="-1" role="dialog">
												<div class="modal-dialog modal-lg">
													<div class="modal-content">
														<div class="modal-header">
															<h4 class="modal-title">
															@Current.Subject </h4>
														</div>
														<div class="modal-body">
															 @Partial['message.html', Current]
														</div>
													</div>
												</div>
											</div>
										</div>
										</li>
										 @EndEach
									</ul>
								</div>
							</div>
							@EndIf